package com.geekaca.d2.operator;

public class testYushu {
    public static void main(String[] args) {
        int num1 = 156;

        System.out.println(num1 + " 的个位是: " + num1 % 10);
        System.out.println(num1 + " 的十位是: " + num1 / 10 % 10);
        System.out.println(num1 + " 的百位是: " + num1 / 10 / 10 % 10);
    }
}
